﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;

namespace Model
{
    public class BSocial
    {
        /// <summary>
        /// 社交ID
        /// </summary>
        //[JsonIgnore]
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int ID                  {get;set; }
        /// <summary>
        /// 社交图标提示title
        /// </summary>
        public string Title            {get;set; }
        /// <summary>
        /// 社交个体的图标iconfont
        /// </summary>
        public string Icon             {get;set; }
        /// <summary>
        /// 图标颜色
        /// </summary>
        public string Color            {get;set; }
        /// <summary>
        /// 社交链接
        /// </summary>
        public string Href             {get;set; }
        /// <summary>
        /// 社交文字说明
        /// </summary>
        public string Text             {get;set; }
        /// <summary>
        /// 社交图片
        /// </summary>
        public string Img              {get;set;}
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreatedAt { get; set; }

        private DateTime updatedAt = DateTime.Now;
        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime UpdatedAt { get { return updatedAt; } set { updatedAt = value; } }
    }
}
